﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MobileExamples
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                TextInput1.Value = DateTime.Now.ToLongDateString();
            }
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            DateTime date = DateTime.Parse(TextInput1.Value);
            date = date.AddDays(2);

            string s = Slider1.Value.ToString();
            s = ToggleSwitch1.Value;
            s = SelectMenu1.SelectedItem.Text;//.Text;
            s = SelectMenu1.SelectedValue;
            s = RadioButtons1.Text;
            var items = CheckBox1.Checked;
        }

        protected void Button2_Click(object sender, EventArgs e)
        {
            Button2.Text = Button2.Text + "1";
        }

        protected void CheckBox1_OnCheckedChanged(object sender, EventArgs e)
        {
            var isChecked = CheckBox1.Checked;
        }
    }
}